<template>
  <div>
    <div>count: {{ counter.count }}</div>
    <div>两倍count: {{ counter.doubleCount }}</div>
    <el-button type="primary" @click="counter.increment">count+1</el-button>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { useCounterStore } from '@/stores/counter'

const counter = useCounterStore()
</script>

<style scoped lang="scss"></style>
